#ifndef EDITARRAYSTRINGDLG_H
#define EDITARRAYSTRINGDLG_H

#include "scrollingdialog.h"
#include <wx/arrstr.h>

class EditArrayStringDlg : public wxScrollingDialog {
  public:
    EditArrayStringDlg( wxWindow* parent, wxArrayString& array );
    virtual ~EditArrayStringDlg();
    EditArrayStringDlg& operator=( const EditArrayStringDlg& ) { return *this; }
    virtual void EndModal( int retCode );
  protected:
    void OnAdd( wxCommandEvent& event );
    void OnEdit( wxCommandEvent& event );
    void OnDelete( wxCommandEvent& event );
    void OnUpdateUI( wxUpdateUIEvent& event );
    wxArrayString& m_Array;
  private:
    DECLARE_EVENT_TABLE()
};

#endif
